﻿/**
<code>
  <author name="Zealic" email="zealic(at)gmail.com" type="Creator"/>
</code>
**/
using System;
using System.Collections.Specialized;


namespace Zealib.Mapper
{
    public class MappingEntry
    {
        public MappingEntry(string sourceName, string destinationName)
        {
            if(sourceName == null) throw new ArgumentNullException("sourceName");
            if(destinationName == null) throw new ArgumentNullException("destinationName");
            SourceName = sourceName;
            DestinationName = destinationName;
            SourceParameters = new NameValueCollection();
            DestinationParameters = new NameValueCollection();
        }

        public string SourceName { get; set; }

        public string DestinationName { get; set; }

        public NameValueCollection SourceParameters { get; set; }

        public NameValueCollection DestinationParameters { get; set; }

    }
}
